package com.todo.biz.common.base;

/**
 * @author azhebuxing
 * @date 2024/12/14 17:29
 * @description
 */
public class BizBaseKeyBuild {

    public static String getCollectCityKey(String city) {
        return String.format(BizBaseRedisKey.COLLECT_SET_CITY_KEY, city);
    }

    public static String getCollectCodeKey(String code) {
        return String.format(BizBaseRedisKey.COLLECT_SET_CODE_KEY, code);
    }

    public static String getCollectRelationKey(Long setId) {
        return String.format(BizBaseRedisKey.COLLECT_SET_RELATION_KEY, setId);
    }
}
